onAttachFragment
abstract fun onAttachFragment(@NonNull fragmentManager: FragmentManager, @NonNull fragment: Fragment)(source)
Called after the fragment has been attached to its host. This is called immediately after onAttach and before onAttach has been called on any child fragments.
Parameters
fragmentManager
FragmentManager the fragment is now attached to. This will be the same FragmentManager that is returned by getParentFragmentManager.
fragment
Fragment that just received a callback to onAttach